export interface Organization {
  id: number
  name: string
  code?: string
  parentId?: number | null
  parentName?: string | null
  type: number
  typeDesc?: string
  sort: number
  description?: string
  createTime?: string
  updateTime?: string
  children?: Organization[]
}

export interface CreateOrganizationParams {
  name: string
  code: string
  parentId?: number
  type: number
  sort?: number
  description?: string
}

export interface UpdateOrganizationParams extends CreateOrganizationParams {
  id: number
}

export interface ClassTreeVO {
  id: number
  name: string
  type: number
  children?: ClassTreeVO[]
} 